home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 6
/
CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso
/
cucd
/
prog
/
dopussdk
/
include
/
dopus
/
misc.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-08-30
|
1KB
|
47 lines
#ifndef _DOPUS_MISC
#define _DOPUS_MISC
/*****************************************************************************
Miscellaneous functions
*****************************************************************************/
// Hex ascii to long
long Atoh(char *,long);
// Long to ascii (various methods)
void Itoa(long,char *,char);
void ItoaU(unsigned long,char *,char);
// Convert long value to byte string
void BytesToString(unsigned long,char *,short,char);
// Division to a string
void DivideToString(char *,unsigned long,unsigned long,short,char);
// 32-bit divide with remainder
ULONG DivideU(unsigned long,unsigned long,unsigned long *,struct Library *);
// Convert BSTR to char *
void BtoCStr(BSTR,char *,long);
// Random numbers
void Seed(long);
long Random(long);
// Build ascii string from rawkey values
void BuildKeyString(unsigned short,unsigned short,unsigned short,unsigned short,char *);
// Valid key qualifiers
USHORT QualValid(unsigned short);
// Convert rawkey values to a character
BOOL ConvertRawKey(unsigned short,unsigned short,char *);
// String manipulation
BOOL StrCombine(char *,char *,char *,long);
BOOL StrConcat(char *,char *,long);
#endif